package com.zmm.common.constant;

/**
 * 通用字符串常量
 * @author 900045
 * @description:
 * @name StringConstant
 * @date By 2021-06-22 11:13:43
 */
public final class StringConstant {

	/**
	 * 签名算法HmacSha256
	 */
	public static final String HMAC_SHA256 = "HmacSHA256";
	/**
	 * 编码UTF-8
	 */
	public static final String ENCODING = "UTF-8";

	public static final String NULL = "null";
	
	/**
	 * IpUtil if 判断中使用
	 */
	public static final String UN_KNOWN = "unKnown";
	/**
	 * HttpUtils 中使用 
	 */
	public static final String HTTPS = "https://";

	/**
	 * 字体只显示大写，去掉了1,0,i,o几个容易混淆的字符
	 */
	public static final String VERIFY_CODES = "23456789ABCDEFGHJKLMNPQRSTUVWXYZ";
	/**
	 * 换行符
	 */
	public static final String LF = "\n";

	/**
	 * 反斜杠
	 */
	public static final String BACKSLASH  = "\\|\\|";
	/**
	 * 串联符
	 */
	public static final String SPE1 = ",";
	/**
	 * 示意符
	 */
	public static final String SPE2 = ":";
	/**
	 * 连接符
	 */
	public static final String SPE3 = "&";
	/**
	 * 赋值符
	 */
	public static final String SPE4 = "=";
	/**
	 * 问号符
	 */
	public static final String SPE5 = "?";
	/**
	 * 参与签名的系统Header前缀,只有指定前缀的Header才会参与到签名中
	 */
	public static final String CA_HEADER_TO_SIGN_PREFIX_SYSTEM = "X-Ca-";

	/**
	 * 校验手机格式
	 */
	public static String PATTEN_REGEX_PHONE= "^[1](([3][0-9])|([4][5-9])|([5][0-3,5-9])|([6][5,6])|([7][0-8])|([8][0-9])|([9][1,8,9]))[0-9]{8}$";


	public static String PATTEN_REGEX_PHONE_2= "^[1]([3-9])[0-9]{9}$";


	/**
	 * 字符串 0
	 */
	public static final String STR_ZERO = "0";
	/**
	 * 字符串 1
	 */
	public static final String STR_ONE = "1";
	/**
	 * 字符串 2
	 */
	public static final String STR_TWO = "2";
	/**
	 * 字符串 3
	 */
	public static final String STR_THREE = "3";
	/**
	 * 字符串 4
	 */
	public static final String STR_FOUR = "4";
	/**
	 * 字符串 5
	 */
	public static final String STR_FIVE = "5";
	/**
	 * 字符串 6
	 */
	public static final String STR_SIX = "6";
	/**
	 * 字符串 7
	 */
	public static final String STR_SEVEN = "7";
	/**
	 * 字符串 8
	 */
	public static final String STR_EIGHT = "8";
	/**
	 * 字符串 9
	 */
	public static final String STR_NINE = "9";


	/**
	 * Byte 0
	 */
	public static final Byte HAS_SUB = 0;
}
